﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="register_step3.aspx.cs" Inherits="register_step3" %>
<%@ Register Src="CommonSearch.ascx" TagName="CommonSearch" TagPrefix="uc2" %>
<%@ Register Src="Header.ascx" TagName="Header" TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>注册--标记我的足迹</title>
    <link href="images/favicon.ico" rel="shortcut icon" type="image/x-icon">
    <link rel="stylesheet" type="text/css" href="style/common.css" />
    <link rel="stylesheet" type="text/css" href="style/Segment/Header.css" />
    <link rel="stylesheet" type="text/css" href="style/Segment/Search.css" />
    <link rel="stylesheet" type="text/css" href="style/Segment/Registerandsign.css" />
    <link rel="stylesheet" type="text/css" href="style/Segment/Footer.css" />
    <link rel="stylesheet" type="text/css" href="style\Segment\Poppage.css" />
    <script src="js/footrip.js" type="text/javascript"></script>
    <script src="http://ditu.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAzr2EBOXUKnm_jVnk0OJI7xSosDVG8KKPE1-m51RBrvYughuyMxQ-i1QfUnH94QxWIa6N4U6MouMmBA&hl=zh-CN" type="text/javascript"></script>
    <script type="text/javascript">

    var map = null;
    var geocoder = null;

    function initialize() {
      SelectByCityId(pageSize,currentPageIndex);
      if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("map_canvas"));
        var mapControl = new GLargeMapControl();
        map.addControl(mapControl);
        map.setCenter(new GLatLng(39.917, 116.397), 13);
        geocoder = new GClientGeocoder();
      }
    }

    function showAddress(address) {
      if (geocoder) {
        geocoder.getLatLng(
          address,
          function(point) {
            if (!point) {
              alert("不能解析: " + address);
//              var lat =window.prompt(address+"纬度","");
//              var lng =window.prompt(address+"经度","");
//              var unknowPoint = new GLatLng(lat,lng);
//              var unknowMarker = new GMarker(unknowPoint);
//              map.addOverlay(unknowMarker);
//              unknowMarker.openInfoWindowHtml(address + unknowPoint.lat() + ",   " + unknowPoint.lng());
              
            } else {
              map.setCenter(point, 13);
              var marker = new GMarker(point);
              map.addOverlay(marker);
//              marker.openInfoWindowHtml(address + point.lat() + ",   " + point.lng());
              marker.openInfoWindowHtml(document.getElementById("popMark").innerHTML);
            }
          }
        );
      }
    }
    
    function btnComplete_onclick() 
    {
        window.location.href="home.aspx";
    }

    </script>    
</head>
<body id="normalbody" onload="initialize()" onunload="GUnload()">
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
       <Services>
           <asp:ServiceReference Path="WSLogin.asmx" />
       </Services>
   </asp:ScriptManager>
<div id="container">
    <uc1:Header ID="Header1" runat="server" />
    <uc2:CommonSearch ID="CommonSearch1" runat="server" />

   <!--Main-->
   <div id="main">
      <div id="loaduserPic">
      <div class="welcomeInfo">陈毅<span>欢迎你注册足迹网,完成所有注册只需2步，之后我们能更好地为您服务</span></div>
      <div class="welcomeInfo"><img src="images/step1_a.jpg" /> <img src="images/arrow.jpg" /> <img src="images/step2_a.jpg" /> <img src="images/arrow.jpg" /> <img src="images/step3.jpg" /></div>
      <div class="boxTitle"><a href="register_step1.aspx">1. 上传个人头像</a> | <a href="register_step2.aspx">2. 完善个人资料</a> | <font class="select">3. 标记我的足迹</font></div>
       <div class="stepBox">
       
       <div class="leftfootripItem">
          <h1 style="padding-bottom:5px;">你的信息...</h1>
          <h2 >家乡是： <font class="font16"><%=homeProvince%><%=homeCity %></font></h2>
          <h2>现居地： <font class="font16"><%=province %><%=homeCity %></font></h2>
          <h1 style="padding-top:25px;">标记地...</h1>
          <ul id="markers">
          </ul>
          <div id="pageIndex" class="pagelink"></div>
       </div>
       <div id="map_canvas" class="mapCont"></div>
       <div class="clear"></div>
       <div class="stepBox">&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" class="butn_green" value="完成" id="btnComplete" onclick="return btnComplete_onclick()" />&nbsp;&nbsp;<a href="">更多标记</a></div>
       
       </div>
      
      </div>
   </div>
   

        <!---Footer--->
        <div id="footer">
        <span>Copyright © 2008 Footrip.com All Rights Reserved</span>
        <ul>
        <li><a href="">关于我们</a> | </li>
        <li><a href="">广告联系</a> | </li>
        <li><a href="">隐私保护</a> | </li>
        <li><a href="">特色功能</a> | </li>
        <li><a href="">使用帮助</a> | </li>
        <li><a href="">建议反馈</a> | </li>
        </ul>
        <div class="clear"></div>
        </div>

        </div>
        
        
        <div id="popMark">

            <h1>中国 , 北京</h1>

            <h2>来点说明...</h2>
            <textarea cols="30"></textarea>



            <p style="padding-top:10px;"><input type="checkbox" class="inputNone" /> 去过&nbsp;&nbsp;<input type="checkbox" class="inputNone" /> 想去
            <p><input type="checkbox" class="inputNone" /> 我的家乡&nbsp;&nbsp;<input type="checkbox" class="inputNone" /> 我住这儿</p>

            <div id="popmain">
            <h2 style="padding:5px 0px;">什么时候来的...</h2>

            <select id="">
            <option value="">----</option>
            <option value="2008">2008</option>
            <option value="2007">2007</option>
            </select> 年
            <select id="Select1">
            <option value="">----</option>
            <option value="2008">1</option>
            <option value="2007">2</option>
            </select> 月
            <select id="Select2">
            <option value="">----</option>
            <option value="2008">1</option>
            <option value="2007">2</option>
            </select> 日
            <h2 style="padding-top:5px;">喜欢这个地方吗？</h2>
            <img src="images/stars4.gif" />
            </div>


            <p style="text-align:center"><input type="button" value="保存" class="butn_green" />&nbsp;&nbsp;&nbsp;<input type="button" value="取消" class="butn_green" />&nbsp;&nbsp;&nbsp;<a href="">删除标记</a></p>
        </div>        
    </form>
</body>
</html>
